<template>
  <el-config-provider :locale="locale">
    <!-- 你的应用内容 -->
    <router-view/>
  </el-config-provider>
</template>

<script>
import {ref} from 'vue';
import zhCn from 'element-plus/es/locale/lang/zh-cn';


export default {
  name: 'App',
  setup() {
    const locale = ref(zhCn);
    return {locale}
  }
};
</script>

<style>
#main-app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;*/
  /*color: #2c3e50;*/
}
</style>
